package foodmaterial.entity;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

public class ProductionLine implements Serializable {
    private static final long serialVersionUID = -3458344537450687411L;

    private Long id ;

    @NotEmpty(message = "名称不能为空")
    private String name ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
